import request from '@/utils/request'

export const  getSongById = (id)=>request({
    url:`/song/detail?ids=${id}`,
      method:'GET'
})

export const  getLyricById = (id)=>request({
    url:`/lyric?id=${id}`,
      method:'GET'
})

export const ItemMusic =(id)=>request({
  url:`/playlist/detail?id=${id}`,
  method:'GET'
})

export const getMusicItemList = (id)=>request({
  url:`/playlist/track/all?id=${id}&limit=10&offset=1`,
  method:'GET'
})

export const getMusicLyric = (id)=>request({
  url:`/lyric?id=${id}`,
  method:'GET'
})